//文本_取出中间文本  getMidText(text,ontext,undext)   返回字符串
//例子 getMidText("1234567","1","7",) //23456
function getMidText(text, ontext, undext) {
    var onP = text.indexOf(ontext);
    var temText = text.substring(onP);
    var reText = text.substring(
        onP + ontext.length,
        temText.indexOf(undext) + onP + ontext.length - 1
    );
    return reText;
}
